php forum
php mysql forum
php mysql smarty
 
Page 3 of 13 < 1 2 3 4 5 ... 12 13 >
Topic Options
#145360 - 08/08/01 07:05 PM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
redo cp_wordlets.cgi as per updated instructions - there was a missing single quote. smirk
_________________________
jordo

Top
#145361 - 08/08/01 10:04 PM Re: [6.1x] UbbIntegratedPoll 1.9
CaCoffin Offline
Member

Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
ok that fixes that problem -

there was one other item which causes problems too -

With the MOD, as is, the Primary Settings menu turns up blank

this line of code is added:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:</font><hr />
Code:
document.writeln("<option value="$vars_config
{CGIURL}/cp.cgi?ubb=vars_poll&r=$ran"> - Poll Settings</option>");
<hr /></blockquote>

The syntax does not match the other menu options in that section of cp_common.pl. If the two " are removed the menu works just fine.

Resulting in the code looking like:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code:</font><hr />
Code:
document.writeln("<option value=$vars_config
{CGIURL}/cp.cgi?ubb=vars_poll&r=$ran> - Poll Settings</option>");
<hr /></blockquote>

Thanks again for a great MOD!

Top
#145362 - 08/08/01 10:51 PM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
ya i had forgotten to fix the instructions with that, i updated the correct one about an hour ago <img src="smile.gif" border="0" alt="" />
_________________________
jordo

Top
#145363 - 08/09/01 01:26 AM Re: [6.1x] UbbIntegratedPoll 1.9
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hola!

Just installed... pretty straightforward even tho it takes pert near a week to do <img src="wink.gif" border="0" alt="" /> Looks nice tho.

When trying to add a poll to a forum, everything seems to go well up until I click on submit to add the poll. I then get this error:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr />
FYI
The form you submitted appears to be incomplete!
You did not complete: message


» Please use your browser's back button to return.
<hr /></blockquote>

A pretty generic error message, but all fields have been filled out, including the message. Any ideas?
_________________________
- Allen wavey
- What Drives You?

Top
#145364 - 08/09/01 11:30 AM Re: [6.1x] UbbIntegratedPoll 1.9
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I am wondering if anyone has installed this yet wink
_________________________
- Allen wavey
- What Drives You?

Top
#145365 - 08/09/01 11:34 AM Re: [6.1x] UbbIntegratedPoll 1.9
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
"view source" on that text if your browser tries to run it as html... you'll see what I mean.
_________________________
- Allen wavey
- What Drives You?

Top
#145366 - 08/09/01 12:02 PM Re: [6.1x] UbbIntegratedPoll 1.9
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
here's the install file text to correct that problem, I still haven't found what's the deal with the previous problem where I get:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr />
FYI
The form you submitted appears to be incomplete!
You did not complete: message


» Please use your browser's back button to return.
<hr /></blockquote>

http://ubbdev.com/ubbpollintegrate.txt
_________________________
- Allen wavey
- What Drives You?

Top
#145367 - 08/09/01 12:44 PM Re: [6.1x] UbbIntegratedPoll 1.9
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I also got it...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#145368 - 08/09/01 01:30 PM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
ok thanks Allen, instructions in zip updated. now as for the other problems, this is a weird one. when i originally moved the poll options page to a page after the post a new topic page, i was getting the same error. i was reproducing all the %in values from the previous (post topic) form as hiddens, but for some reason it only would look at the first 3 of them, then ignore the rest. i fixed it by hard coding the forum (f) hidden as the first one then putting all the rest. now i dont know why its popping up again, cause it works perfect on my test board. so as soon as i can figure out how to replicate it again ill get it fixed. or if you have any ideas of course. <p />take a look for yourself, you can search for $post_data_from_in in ubb_poll_lib.cgi and public_new_poll_form.pl<p />:/
_________________________
jordo

Top
#145369 - 08/09/01 11:15 PM Re: [6.1x] UbbIntegratedPoll 1.9
Ramirez Offline
Member

Registered: 10/20/00
Posts: 271
Loc: Stillwater, OK, USA
I'm getting the same problem. I'll play with it some and see if I can figure anything out.
_________________________
Ultimate Frisbee is good for you, it improves your symbolic logic skills.

Top
#145370 - 08/10/01 01:37 AM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
ok i dont know whats up but i totally cant replicate this problem. ive checked and rechecked and im 99.9% sure i have the same files as in the zip (i just upped them from the zip in fact). so im not sure. if someone who is having this problem would like to try something for me that i think will fix it, pm me, i cant be sure though as im not actually having the problem smirk
_________________________
jordo

Top
#145371 - 08/10/01 01:54 AM Re: [6.1x] UbbIntegratedPoll 1.9
Paule Offline
Junior Member

Registered: 02/17/01
Posts: 29
Loc: Germany
Can you modify this mod to a multiple choice poll?

Top
#145372 - 08/10/01 12:13 PM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
</font><blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr /><font size="2" face="Verdana, Helvetica, Arial">Originally posted by [HF]Phoenix:
Can you modify this mod to a multiple choice poll?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, Arial">

what do you mean? you can put in as many choices as you want.
_________________________
jordo

Top
#145373 - 08/10/01 12:31 PM Re: [6.1x] UbbIntegratedPoll 1.9
Paule Offline
Junior Member

Registered: 02/17/01
Posts: 29
Loc: Germany
no, i mean, that you can vote for two or three things....not only for one thing

Top
#145374 - 08/10/01 01:58 PM Re: [6.1x] UbbIntegratedPoll 1.9
Ramirez Offline
Member

Registered: 10/20/00
Posts: 271
Loc: Stillwater, OK, USA
A couple of small bugfixes. I was having problems with the option text being really really tiny, as well as the view results and edit poll links. This fixes that problem.

In ubb_poll_lib.cgi replace:

</font><blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr /><font size="2" face="Verdana, Helvetica, Arial">or ($i=0; $i<=$poll_data{choice_total}; $i++) {
$id = "choice_$i";
@choice = split(/||/, $poll_data{$id});
$ubb_poll_options .= qq~<tr><td bgcolor="$vars_style{AltColumnColor1}"><input type="radio" name="vote" value="$choice[0]" />&nbsp&nbsp$choice[0]
</td></tr>~;
} ## end for loop</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, Arial">

with:

</font><blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr /><font size="2" face="Verdana, Helvetica, Arial">or ($i=0; $i<=$poll_data{choice_total}; $i++) {
$id = "choice_$i";
@choice = split(/||/, $poll_data{$id});
$ubb_poll_options .= qq~<tr><td bgcolor="$vars_style{AltColumnColor1}"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}"><input type="radio" name="vote" value="$choice[0]" />&nbsp&nbsp$choice[0]
</font></td></tr>~;
} ## end for loop</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, Arial">

Then in public_poll_display.pl replace:
</font><blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr /><font size="2" face="Verdana, Helvetica, Arial"><td align="left" valign="top">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$in{t}&comment=results">$vars_wordlets_polls{ipolls_view_results}</a></font>
</td>
<td align="center">
<font face="$vars_style{FontFace}" size="$vars_style{FDTextSize}" color="$vars_style{TextColor}">
$vars_wordlets_polls{ipolls_comments}
<input type="text" name="comment">&nbsp&nbsp<input type="submit" value="Vote!" />
</form>
<font face="$vars_style{FontFace}" size="$vars_style{TextSize}">
</td>
<td align="right" valign="top">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=poll_edit&f=$in{f}&t=$in{t}">$vars_wordlets_polls{ipolls_edit_poll}</a></font></font><hr /></blockquote><font size="2" face="Verdana, Helvetica, Arial">

with:
</font><blockquote><font size="1" face="Verdana, Helvetica, Arial">quote:</font><hr /><font size="2" face="Verdana, Helvetica, Arial"><td align="left" valign="top">
<font face="$vars_style{FontFace}" size="$vars_style{FDTextSize}">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic&f=$in{f}&t=$in{t}&comment=results">$vars_wordlets_polls{ipolls_view_results}</a></font>
</td>
<td align="center">
<font face="$vars_style{FontFace}" size="$vars_style{FDTextSize}" color="$vars_style{TextColor}">
$vars_wordlets_polls{ipolls_comments}
<input type="text" name="comment">&nbsp&nbsp<input type="submit" value="Vote!" />
</form>
</td>
<td align="right" valign="top">
<font face="$vars_style{FontFace}" size="$vars_style{FDTextSize}">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=poll_edit&f=$in{f}&t=$in{t}">$vars_wordlets_polls{ipolls_edit_poll}</a></font></font><hr /></blockquote><font size="2" face="Verdana, Helvetica, Arial">
_________________________
Ultimate Frisbee is good for you, it improves your symbolic logic skills.

Top
#145375 - 08/10/01 03:35 PM Re: [6.1x] UbbIntegratedPoll 1.9
jordo Offline
Moderator / Developer

Registered: 08/05/00
Posts: 830
Ok the bug preventing posting of polls is finally fixed, thanks to Ramirez for testing for me. smile

redownload the zip and upload the following 3 files from it:
ubb_poll_lib.cgi
public_new_poll_form.pl
public_poll_display.pl
_________________________
jordo

Top
#145376 - 08/10/01 03:56 PM Re: [6.1x] UbbIntegratedPoll 1.9
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
That seems to have done it smile
_________________________
- Allen wavey
- What Drives You?

Top
#145377 - 08/10/01 05:20 PM Re: [6.1x] UbbIntegratedPoll 1.9
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Yep... Just a suggestion, to show the subject when somebody votes.

In ubb_poll_lib.cgi
[code][/code]

Also, some parts aren't Worldetized, like this one, and your package includes vars_wordlets_mods.cgi

Other than that, it works great <img src="biggrin.gif" border="0" alt="" />
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#145378 - 08/10/01 05:21 PM Re: [6.1x] UbbIntegratedPoll 1.9
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Hmm... Allen... the <pre> isn't supposed to have font-family:, just font-size
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#145379 - 08/10/01 05:37 PM Re: [6.1x] UbbIntegratedPoll 1.9
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Another thing, you don't have to &set_page_elements in ubb_poll_lib.cgi and public_poll_page.pl, otherwise there will be 3 in the topic (like "UBBDev.com: : : Windows or Mac?")
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 3 of 13 < 1 2 3 4 5 ... 12 13 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks